﻿<%@ Page Language="C#" AutoEventWireup="true"  Inherits="BLL.PageUI.Index" ValidateRequest="false"  %>
<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Collections" %>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="System.Linq" %>
<%@ Import Namespace="System.Web" %>
<%@ Import Namespace="System.Web.UI" %>
<%@ Import Namespace="System.Web.UI.WebControls" %>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <style type="text/css">
        html, body {
            padding:0;
            margin:1px 1px 1px 1px;
        }
    </style>
    <link rel='stylesheet' type='text/css' href='/sysres/dist/css/ueditor_iframe.css'/>
    
</head>
<body>
    <div field_type="feditor" >

    </div>
</body>
    
</html>

<script src="/admin/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
<!-- 编辑器2文件 -->
<link rel="stylesheet" href="/admin/assets/feditor/css/loadfeditor.css"  />
<script type="text/javascript" src="/admin/assets/feditor/js/loadfeditor.js"></script>

<script type="text/javascript">
    var editorContent = "";
    InitFeditorFull($("[field_type='feditor']"));
    
    function getContent() {
        return $("[field_type='feditor']").froalaEditor('html.get', true);
    }
    function setContent(cont) {
        if (arguments.length > 0) {
            $("[field_type='feditor']").froalaEditor("html.set", cont);
        }
        else {
            $("[field_type='feditor']").froalaEditor("html.set", editorContent);
        }
    }
    setContent();
</script>



<%--<!DOCTYPE html><html><head><meta charset="utf-8"/><meta name="viewport"content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/><style type="text/css">html,body{padding:0;margin:1px 1px 1px 1px}</style><link rel='stylesheet'type='text/css'href='/sysres/dist/css/ueditor_iframe.css'/></head><body><div field_type="feditor"></div></body></html><script src="/admin/assets/global/plugins/jquery.min.js"type="text/javascript"></script><!--编辑器2文件--><link rel="stylesheet"href="/admin/assets/feditor/css/loadfeditor.css"/><script type="text/javascript"src="/admin/assets/feditor/js/loadfeditor.js"></script><script type="text/javascript">var editorContent="";InitFeditorFull($("[field_type='feditor']"));function getContent(){return $("[field_type='feditor']").froalaEditor('html.get',true)}function setContent(cont){if(arguments.length>0){$("[field_type='feditor']").froalaEditor("html.set",cont)}else{$("[field_type='feditor']").froalaEditor("html.set",editorContent)}}setContent();</script>--%>

<%--<script>

    document.writeln("<!DOCTYPE html><html><head><meta charset=\"utf-8\"/><meta name=\"viewport\"content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\"/><style type=\"text/css\">html,body{padding:0;margin:1px 1px 1px 1px}</style><link rel=\'stylesheet\' type=\'text/css\' href=\'/sysres/dist/css/ueditor_iframe.css\'/></head><body><div field_type=\"feditor\"></div></body></html><script src=\"/admin/assets/global/plugins/jquery.min.js\"type=\"text/javascript\"><\/script><link rel=\"stylesheet\"href=\"/admin/assets/feditor/css/loadfeditor.css\"/><script type=\"text/javascript\"src=\"/admin/assets/feditor/js/loadfeditor.js\"><\/script><script type=\"text/javascript\">var editorContent=\"\";InitFeditorFull($(\"[field_type=\'feditor\']\"));function getContent(){return $(\"[field_type=\'feditor\']\").froalaEditor(\'html.get\',true)}function setContent(cont){if(arguments.length>0){$(\"[field_type=\'feditor\']\").froalaEditor(\"html.set\",cont)}else{$(\"[field_type=\'feditor\']\").froalaEditor(\"html.set\",editorContent)}}setContent();<\/script>");
</script>--%>